<jsp:useBean id="empDao" beanName="cn.jbit.mybatisdemo.dao.impl.EmpDaoImpl" type="cn.jbit.mybatisdemo.dao.IEmpDao" />
<jsp:useBean id="empService" beanName="cn.jbit.mybatisdemo.service.impl.EmpServiceImpl" type="cn.jbit.mybatisdemo.service.IEmpService" />
<jsp:setProperty property="empDao" name="empService" value="<%=empDao%>"/>
<jsp:useBean id="deptDao" beanName="cn.jbit.mybatisdemo.dao.impl.DeptDaoImpl" type="cn.jbit.mybatisdemo.dao.IDeptDao" />
<jsp:useBean id="deptService" beanName="cn.jbit.mybatisdemo.service.impl.DeptServiceImpl" type="cn.jbit.mybatisdemo.service.IDeptService" />
<jsp:setProperty property="deptDao" name="deptService" value="<%=deptDao%>"/> 

<link href="<%=request.getContextPath() %>/css/common.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="<%=request.getContextPath()%>/js/common.js"></script>
